package com.kingmed.kmss.common.dto.admin.ums;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 跟前端确定，是否需要树状结构
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
public class ResourceDTO implements Serializable {

    private Long id;

    private String code;

    private String name;

    private String url;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("资源分类ID")
    private Long categoryId;

    @ApiModelProperty("资源分类名称")
    private String categoryName;

}
